Optimal. Leaf size=28 \[ x \log \left (\frac {c (a x+b)^2}{x^2}\right )+\frac {2 b \log (a x+b)}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2486, 31} \[ x \log \left (\frac {c (a x+b)^2}{x^2}\right )+\frac {2 b \log (a x+b)}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 2486
Rubi steps
\begin {align*} \int \log \left (\frac {c (b+a x)^2}{x^2}\right ) \, dx &=x \log \left (\frac {c (b+a x)^2}{x^2}\right )+(2 b) \int \frac {1}{b+a x} \, dx\\ &=\frac {2 b \log (b+a x)}{a}+x \log \left (\frac {c (b+a x)^2}{x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 28, normalized size = 1.00 \[ x \log \left (\frac {c (a x+b)^2}{x^2}\right )+\frac {2 b \log (a x+b)}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 42, normalized size = 1.50 \[ \frac {a x \log \left (\frac {a^{2} c x^{2} + 2 \, a b c x + b^{2} c}{x^{2}}\right ) + 2 \, b \log \left (a x + b\right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 29, normalized size = 1.04 \[ x \log \left (\frac {{\left (a x + b\right )}^{2} c}{x^{2}}\right ) + \frac {2 \, b \log \left ({\left | a x + b \right |}\right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 40, normalized size = 1.43 \[ x \ln \left (\left (a +\frac {b}{x}\right )^{2} c \right )-\frac {2 b \ln \left (\frac {1}{x}\right )}{a}+\frac {2 b \ln \left (a +\frac {b}{x}\right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.99, size = 28, normalized size = 1.00 \[ x \log \left (\frac {{\left (a x + b\right )}^{2} c}{x^{2}}\right ) + \frac {2 \, b \log \left (a x + b\right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.15, size = 28, normalized size = 1.00 \[ x\,\ln \left (\frac {c\,{\left (b+a\,x\right )}^2}{x^2}\right )+\frac {2\,b\,\ln \left (b+a\,x\right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.28, size = 26, normalized size = 0.93 \[ x \log {\left (\frac {c \left (a x + b\right )^{2}}{x^{2}} \right )} + \frac {2 b \log {\left (a x + b \right )}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________